Skip to content

fix: use HTTPS submodule URLs and remove duplicate entries - #3162

Merged
InfinityLoop1308 merged 1 commit into
InfinityLoop1308:mainfrom
Razsoriginal:fix/submodule-https-clone
Nov 23, 2026
Merged

InfinityLoop1308 merged 1 commit into
InfinityLoop1308:mainfrom
Razsoriginal:fix/submodule-https-clone

Conversation

@Razsoriginal

@Razsoriginal Razsoriginal commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Problem

A fresh git clone --recurse-submodules https://github.com/InfinityLoop1308/PipePipe.git fails out of the box. I reproduced this while setting up to work on open issues (e.g. #3154 Bandcamp track crash, always 100% reproducible, and #3160 Zulu-title inconsistency, always 100%):

Cloning into 'PipePipeExtractor'...
Host key verification failed.
fatal: Could not read from remote repository.
Failed to clone 'PipePipeExtractor'. Retry scheduled
Cloning into 'PipePipe.wiki'...
Host key verification failed.

Root causes in .gitmodules:

  1. All three submodules (PipePipeClient, PipePipeExtractor, PipePipe.wiki) use SSH URLs (git@github.com:...), which need an SSH key plus a known host key. Contributors without SSH setup (and actions/checkout with submodules: recursive in CI) cannot fetch them.
  2. Duplicate path entries: NewPipeExtractor and PipePipeExtractor both declare path = PipePipeExtractor (same for the client pair pointing at codeberg). The later SSH entries shadow the earlier codeberg ones, so the codeberg URLs are dead config.
  3. PipePipe.wiki declares branch = main, but the wiki repo's only branch is master.

Fix

  • One entry per path, all HTTPS: https://github.com/InfinityLoop1308/...
  • Explicit branches matching each repo default: client dev, extractor main, wiki master.

Verification (no maintained test tiny config fix)

  • git config --file .gitmodules --list: 3 submodules, unique paths, all HTTPS.
  • git submodule sync then git submodule update --init --depth 1 PipePipe.wiki PipePipeClient PipePipeExtractor: all three check out at the pinned commits (wiki 40f284d, client b91f008, extractor 1a09d20) with no SSH keys.
  • Upstream fresh --recurse-submodules clone still fails (proving the before-state); this branch fixes it.

Cloning with --recurse-submodules fails out of the box because
PipePipeClient, PipePipeExtractor and PipePipe.wiki use SSH URLs
(git@github.com:...), which require an SSH key and known host key.
Contributors without SSH setup see:

  Host key verification failed / Could not read from remote repository

Also, .gitmodules contained duplicate path entries (codeberg
NewPipeExtractor/NewPipeEnhanced-client shadowing the same paths),
so the codeberg URLs were dead config and the SSH ones always won.

Use public HTTPS URLs so 'git clone --recurse-submodules' and
actions/checkout (CI, submodules: recursive) work without SSH keys.
Set explicit branches matching each repo default (client: dev,
extractor: main, wiki: master; wiki was incorrectly set to main).
Copilot AI balanced review requested due to automatic review settings November 20, 2026 02:32

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@InfinityLoop1308

Copy link
Copy Markdown
Owner

Thanks, merged.

@InfinityLoop1308
InfinityLoop1308 merged commit 5c06ea7 into InfinityLoop1308:main Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants